package com.one.shopping.entity;

import java.io.Serializable;

/**
 * 收银员实体类
 * @author 柯尊诚
 * @version 1.0
 * @date 创建时间：2016/1/9 10:04
 */
public class Users implements Serializable {

    private int id;     //收银员ID，自增
    private String name;    //收银员用户名
    private String passwd;  //收银员密码
    private int type;   //收银员类型

    public Users() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPasswd() {
        return passwd;
    }

    public void setPasswd(String passwd) {
        this.passwd = passwd;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "Users{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", passwd='" + passwd + '\'' +
                ", type=" + type +
                '}';
    }
}
